package com.his.registration.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.pojo
 * @Author: ZhangYing
 * @Date: 2023/7/2 15:00
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DisposalRequest {
    private int id;
    private int  registerId;//挂号id
    private int medicalTechnologyId;//医技项目id
    private String disposalInfo;//目的要求
    private String disposalPosition;//处置部位
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //日期格式转换对象 2023-06-29 14:24:28
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime creationTime;//开立时间
    private int disposalEmployeeId;//处置人员id
    private int inputdisposalEmployeeId;//结果录入人员id
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //日期格式转换对象 2023-06-29 14:24:28
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private  LocalDateTime disposalTime;//处置时间
    private  String disposalResult;//处置结果
    private  String disposalState;//状态
    private String disposalRemark;//备注
}
